#ifndef INFOSTATE_H
#define INFOSTATE_H

#include "GameState.h"
#include "Singleton.h"
#include "EventPoller.h"
#include "EventHandler.h"
#include "Text.h"

#include <D3DX10.h>

class InfoState : public GameState, public Uncopyable, public EventHandler
{
	InfoState();
	friend class Singleton<InfoState>;
public:
	void Update();
	void Draw();

	virtual void OnActivated() override;
	virtual void OnDeactivated() override;
	
	virtual void OnKeyDownEvent(const WPARAM& event) override;
private:
	D3DXVECTOR2 m_screenSize;
	bool m_retKeyDown;

	Text m_enterToContinue;

	Text m_soundModsTitle;
	Text m_soundModsL1;
	Text m_soundModsL2;
	Text m_soundModsL3;

	Text m_sampleSoundTitle;
	Text m_sampleSoundsL1;

	Text m_controllersTitle;
	Text m_controllersL1;
	Text m_controllersL2;
};

typedef Singleton<InfoState> TheInfoState;

#endif //INFOSTATE_H